

import yaml

def load_yaml(path):
    file = open(path,'r',encoding='utf-8')
    data = yaml.load(file,Loader=yaml.FullLoader)
    return data

if __name__ == '__main__':
    print(load_yaml('./test08.yaml'))







